package cn.tedu.sp09.feign;

import cn.tedu.sp01.pojo.Order;
import cn.tedu.sp01.util.JsonResult;
import org.springframework.stereotype.Component;

/**
 * @author 张琪
 * @date 2020/12/22
 * @describe
 */
@Component
public class OrderClientFB implements OrderClient{


    @Override
    public JsonResult<Order> getOrder(String orderId) {
        return JsonResult.err().msg("获取订单失败");
    }

    @Override
    public JsonResult<?> addOrder() {
        return JsonResult.err().msg("添加订单失败");
    }
}
